package com.ror.java.se.io;

import java.io.FileWriter;
import java.io.IOException;

public class Demo10Writer {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("assets/io/char/e.txt");
        for (int i = 0; i < 512; i++) {
            fw.write('0');
        }
//        fw.flush();
        fw.write('a');
        System.out.println("now flushed.");
        fw.close();
    }
}
